package training.bms.presentation;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import training.bms.business.Tag;
import training.bms.business.TagController;
import training.bms.business.TagSearchOptions;
import training.framework.business.AbstractEntityController;
import training.framework.presentation.AbstractSearchEntity;

@ManagedBean
@SessionScoped
public class SearchTag
		extends
		AbstractSearchEntity<Integer, Tag, TagSearchOptions, TagPanel> {
	
	private TagController controller;

	public SearchTag() {
		super(TagSearchOptions.class, "searchTag", "Tag not found", 10);
		controller = new TagController();
	}

	@Override
	protected AbstractEntityController<Integer, Tag, TagSearchOptions> getController() {
		return this.controller;
	}

}
